Skip to content

ci(audience): add Linux desktop to PlayMode CI matrix via GameCI (SDK-255)#745

Merged
ImmutableJeffrey merged 1 commit intomainfrom
ci/sdk-255-audience-linux-il2cpp
May 7, 2026
Merged

ci(audience): add Linux desktop to PlayMode CI matrix via GameCI (SDK-255)#745
ImmutableJeffrey merged 1 commit intomainfrom
ci/sdk-255-audience-linux-il2cpp

Conversation

@ImmutableJeffrey
Copy link
Copy Markdown
Collaborator

@ImmutableJeffrey ImmutableJeffrey commented May 7, 2026

Summary

Adds Linux desktop support to the audience CI matrix.

SDK package

  • Adds LinuxStandalone64 to includePlatforms in src/Packages/Audience/Runtime/com.immutable.audience.asmdef and src/Packages/Audience/Runtime/Unity/com.immutable.audience.unity.asmdef. Without these, the SDK does not compile when the build target is Linux and the sample app errors with CS0246 for every audience type. The Tests asmdef already included Linux.

CI

  • Adds a playmode-linux job in .github/workflows/test-audience-sample-app.yml that runs the audience PlayMode tests on ubuntu-latest-8-cores via game-ci/unity-test-runner@v4. Covers both scripting backends (IL2CPP and Mono2x).
  • Mirrors the playmode (Win/macOS) job's PR-vs-schedule split from SDK-327: every PR runs Unity 2021 and 6000.4.0f1 (4 cells); the weekly cron and workflow_dispatch runs add Unity 2022.3.62f2 (6 cells total).
  • Linux runs via GameCI on GitHub-hosted Ubuntu rather than a self-hosted machine, leaving self-hosted runners free for Win/macOS and avoiding Unity Pro seat-pool contention.

Out of scope (separate tickets)

  • Audience runtime Linux portability (paths, permissions, locale, case-sensitivity): SDK-317.
  • Manual sample app verification on Linux: SDK-318.

Linear: SDK-316

@ImmutableJeffrey ImmutableJeffrey force-pushed the ci/sdk-255-audience-linux-il2cpp branch from 5526923 to 01f55a8 Compare May 7, 2026 02:13
- Adds LinuxStandalone64 to includePlatforms in
  src/Packages/Audience/Runtime/com.immutable.audience.asmdef and
  src/Packages/Audience/Runtime/Unity/com.immutable.audience.unity.asmdef
  so the SDK compiles when the build target is Linux. Without these,
  the sample app errors with CS0246 for every audience type. The Tests
  asmdef already included Linux.
- Adds a playmode-linux job in
  .github/workflows/test-audience-sample-app.yml that runs the
  audience PlayMode tests on ubuntu-latest-8-cores via
  game-ci/unity-test-runner@v4. Covers IL2CPP and Mono2x backends for
  Unity 2021.3.45f2, 6000.4.0f1, and 2022.3.62f2, matching the
  Win/macOS coverage.
- Linux runs via GameCI on GitHub-hosted Ubuntu rather than a
  self-hosted machine. Self-hosted Linux on residential bandwidth
  spent ~170s per job uploading the Library cache; GameCI completes
  the same work in ~138s and keeps self-hosted runners free for
  Win/macOS.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ImmutableJeffrey ImmutableJeffrey force-pushed the ci/sdk-255-audience-linux-il2cpp branch from 01f55a8 to 4d9c6fb Compare May 7, 2026 03:49
@ImmutableJeffrey ImmutableJeffrey marked this pull request as ready for review May 7, 2026 04:13
@ImmutableJeffrey ImmutableJeffrey requested review from a team as code owners May 7, 2026 04:13
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4d9c6fb. Configure here.

Comment thread .github/workflows/test-audience-sample-app.yml
@ImmutableJeffrey ImmutableJeffrey merged commit 542dca6 into main May 7, 2026
43 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants